package com.rentong.wx.sys.service.impl;

import com.rentong.wx.sys.dao.SysConfDao;
import com.rentong.wx.sys.domain.SysConfEntity;
import com.rentong.wx.sys.service.SysConfService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service
public class SysConfServiceImpl implements SysConfService {

    @Resource
    private SysConfDao sysConfDao;


    @Transactional(rollbackFor = Exception.class)
    @Override
    public SysConfEntity getConfInformation(Long confId) {
        return sysConfDao.selectByPrimaryKey(confId);
    }




}